import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import store from './store'
import './uni.promisify.adaptor'
import TuniaoUI from 'tuniao-ui'
Vue.prototype.$store = store
Vue.config.productionTip = false

Vue.use(uView)


App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
Vue.use(TuniaoUI)
let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)
require('./config/request')(app)
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif